.class public Lcom/waiqin365/lightapp/photo/TakePhotosActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/waiqin365/compons/view/d;
.implements Lcom/waiqin365/lightapp/view/di;
.implements Lcom/waiqin365/lightapp/view/fp;
.implements Lcom/waiqin365/lightapp/view/gn;


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/ScrollView;

.field private e:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

.field private f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

.field private g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

.field private h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

.field private i:Landroid/widget/EditText;

.field private j:Landroid/os/Handler;

.field private k:Lcom/waiqin365/lightapp/photo/c/b;

.field private l:Lcom/waiqin365/compons/view/c;

.field private m:Ljava/lang/String;

.field private n:I

.field private o:Z

.field private p:Z

.field private q:I

.field private r:Landroid/view/inputmethod/InputMethodManager;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Lcom/waiqin365/lightapp/photo/c/b;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/photo/c/b;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v0, "0"

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->m:Ljava/lang/String;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->o:Z

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->p:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;Lcom/waiqin365/lightapp/photo/c/b;)Lcom/waiqin365/lightapp/photo/c/b;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->l:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private b()V
    .locals 4

    const/4 v2, 0x0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->b(Landroid/content/Context;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v1, "volpicup"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_6

    const-string/jumbo v1, "is_customer_needed"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, "is_customer_needed"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->m:Ljava/lang/String;

    :cond_0
    const-string/jumbo v1, "is_pic_type_needed"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "is_pic_type_needed"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v3, "1"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->p:Z

    :cond_1
    const-string/jumbo v1, "max_photo"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_2

    :try_start_0
    const-string/jumbo v1, "max_photo"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->n:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_2
    :goto_0
    const-string/jumbo v1, "is_can_select_photo"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_3

    const-string/jumbo v1, "0"

    const-string/jumbo v3, "is_can_select_photo"

    invoke-virtual {v0, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    move v1, v2

    :goto_1
    iput-boolean v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->o:Z

    :cond_3
    const-string/jumbo v1, "max_width"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_4

    :try_start_1
    const-string/jumbo v1, "max_width"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->q:I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :cond_4
    :goto_2
    const-string/jumbo v0, "input_method"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->r:Landroid/view/inputmethod/InputMethodManager;

    return-void

    :catch_0
    move-exception v1

    const/4 v1, 0x5

    iput v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->n:I

    goto :goto_0

    :cond_5
    const/4 v1, 0x1

    goto :goto_1

    :cond_6
    const v0, 0x7f0806ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_2

    :catch_1
    move-exception v0

    goto :goto_2
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/photo/c/b;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    return-object v0
.end method

.method private c()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/photo/a;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/photo/a;-><init>(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->j:Landroid/os/Handler;

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/LocationView_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    return-object v0
.end method

.method private d()V
    .locals 4

    const/4 v3, 0x0

    const v0, 0x7f0c0991

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->a:Landroid/widget/ImageView;

    const v0, 0x7f0c0993

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f08063c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const v0, 0x7f0c098a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ScrollView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->d:Landroid/widget/ScrollView;

    const v0, 0x7f0c0994

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f08063d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c098d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v1, 0x7f080018

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v1, 0x7f0805d6

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setType(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->n:I

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMax(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->q:I

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicWidth(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->o:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->e()Lcom/waiqin365/lightapp/view/fs;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setWaterMarkModeByMenu(Lcom/waiqin365/lightapp/view/fs;)V

    const v0, 0x7f0c098e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->c(Z)V

    const v0, 0x7f0c0990

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->i:Landroid/widget/EditText;

    const v0, 0x7f0c098b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->m:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const v1, 0x7f080017

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c098c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->p:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->setDataChangeListener(Lcom/waiqin365/lightapp/view/gn;)V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    sget v2, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v3, Lcom/waiqin365/lightapp/photo/b;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/photo/b;-><init>(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->l:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->l:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f08013e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f0c0066

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c:Landroid/widget/TextView;

    return-object v0
.end method

.method private e()Lcom/waiqin365/lightapp/view/fs;
    .locals 3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->b(Landroid/content/Context;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v1, "volpicup"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_0

    const-string/jumbo v1, "true"

    const-string/jumbo v2, "addWaterMark"

    invoke-virtual {v0, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/waiqin365/lightapp/view/fs;->a:Lcom/waiqin365/lightapp/view/fs;

    :goto_0
    return-object v0

    :cond_0
    sget-object v0, Lcom/waiqin365/lightapp/view/fs;->b:Lcom/waiqin365/lightapp/view/fs;

    goto :goto_0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->i:Landroid/widget/EditText;

    return-object v0
.end method

.method private f()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setImagePreviewImageDataChangeListener(Lcom/waiqin365/lightapp/view/fp;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setOnCustomerSelectListener(Lcom/waiqin365/lightapp/view/di;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->d:Landroid/widget/ScrollView;

    new-instance v1, Lcom/waiqin365/lightapp/photo/c;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/photo/c;-><init>(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    return-object v0
.end method

.method private g()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->e()Lcom/waiqin365/lightapp/b/c;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->e()Lcom/waiqin365/lightapp/b/c;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/c;->a:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->e()Lcom/waiqin365/lightapp/b/c;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/b/c;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->b:Ljava/lang/String;

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->q()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->i:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/compons/c/f;->a()I

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->e:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(D)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(D)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/compons/c/f;->e()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->v:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->o:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->w:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->p:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->y:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->q:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->z:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->r:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->x:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->s:Ljava/lang/String;

    :goto_1
    invoke-static {}, Lcom/waiqin365/compons/c/a;->a()Lcom/waiqin365/compons/c/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/compons/c/a;->a(Landroid/content/Context;)Ljava/util/ArrayList;

    move-result-object v2

    if-eqz v2, :cond_0

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    const/4 v0, 0x0

    move v1, v0

    :goto_2
    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/compons/c/b;

    iget v3, v0, Lcom/waiqin365/compons/c/b;->a:I

    if-ltz v3, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget v2, v0, Lcom/waiqin365/compons/c/b;->a:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/photo/c/b;->h:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v2, v0, Lcom/waiqin365/compons/c/b;->b:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/photo/c/b;->i:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget v2, v0, Lcom/waiqin365/compons/c/b;->d:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/photo/c/b;->j:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v2, v0, Lcom/waiqin365/compons/c/b;->c:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/photo/c/b;->k:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v0, v0, Lcom/waiqin365/compons/c/b;->e:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightapp/photo/c/b;->l:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/c/b;->l()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->m:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/c/b;->q()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->n:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    invoke-static {p0}, Lcom/waiqin365/compons/c/d;->a(Landroid/content/Context;)Z

    move-result v0

    const/4 v2, 0x1

    if-ne v0, v2, :cond_4

    const-string/jumbo v0, "1"

    :goto_3
    iput-object v0, v1, Lcom/waiqin365/lightapp/photo/c/b;->t:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, "0"

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->u:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, "2"

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->v:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/photo/b/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/lightapp/photo/b/a/b;-><init>(Ljava/lang/String;Lcom/waiqin365/lightapp/photo/c/b;)V

    new-instance v0, Lcom/waiqin365/lightapp/photo/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->j:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/photo/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/photo/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/photo/b/b;->start()V

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->showProgressDialog(Ljava/lang/String;)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, "0"

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->b:Ljava/lang/String;

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->e:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->o:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->p:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->q:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->r:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/photo/c/b;->s:Ljava/lang/String;

    goto/16 :goto_1

    :cond_3
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_2

    :cond_4
    const-string/jumbo v0, "0"

    goto :goto_3
.end method

.method private h()V
    .locals 3

    const/4 v2, 0x2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v0

    iget v0, v0, Landroid/view/WindowManager$LayoutParams;->softInputMode:I

    if-eq v0, v2, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getCurrentFocus()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->r:Landroid/view/inputmethod/InputMethodManager;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->getCurrentFocus()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h()V

    return-void
.end method

.method private i()V
    .locals 4

    const/4 v2, 0x0

    const/4 v1, 0x1

    const-string/jumbo v0, "1"

    iget-object v3, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->m:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v0, v0, Lcom/waiqin365/lightapp/photo/c/b;->a:Ljava/lang/String;

    if-eqz v0, :cond_1

    const-string/jumbo v0, ""

    iget-object v3, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v3, v3, Lcom/waiqin365/lightapp/photo/c/b;->a:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    move v0, v1

    :goto_0
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->p:Z

    if-eqz v3, :cond_0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->e()Lcom/waiqin365/lightapp/b/c;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->e()Lcom/waiqin365/lightapp/b/c;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/c;->a:Ljava/lang/String;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f:Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->e()Lcom/waiqin365/lightapp/b/c;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/b/c;->a:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v3, "0"

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    move v0, v1

    :cond_0
    :goto_1
    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->y()I

    move-result v0

    if-lez v0, :cond_3

    move v0, v1

    :goto_2
    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    :goto_3
    return-void

    :cond_1
    move v0, v2

    goto :goto_0

    :cond_2
    move v0, v2

    goto :goto_1

    :cond_3
    move v0, v2

    goto :goto_2

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setEnabled(Z)V

    goto :goto_3

    :cond_5
    move v0, v1

    goto :goto_0
.end method


# virtual methods
.method public a()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->i()V

    return-void
.end method

.method public a(I)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->i()V

    return-void
.end method

.method public a(Lcom/waiqin365/lightapp/kehu/b/am;)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->k:Lcom/waiqin365/lightapp/photo/c/b;

    iput-object v0, v1, Lcom/waiqin365/lightapp/photo/c/b;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->e:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->h()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setCustomerName(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setCmLocation(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->i()V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->back()V

    goto :goto_0

    :pswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0991
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0301be

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f()V

    invoke-static {p0}, Lcom/waiqin365/compons/c/d;->d(Landroid/content/Context;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->h:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->d()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->u()V

    :cond_1
    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method
